#pragma once
#include "PhysicsBall.h"
#include <Physics/Dynamics/Collide/ContactListener/hkpContactListener.h>
#include "ColourHelper.h"


class DominoPlayer : public PhysicsBall
{
public:
	DominoPlayer(float radius) :
	  PhysicsBall(radius)
	  {
		  BallColour = Colour::BLACK;
		  Init();
	  }

	  int Score;

	  virtual ~DominoPlayer(void) {}

	  void AddObjectToSimulation(hkpWorld* theWorld);
	  void Init();
	  void Update();
	  virtual void CreateGeometry();

	  void MoveForward(float speed, const D3DXVECTOR3& direction);
	  void MoveBackward(float speed, const D3DXVECTOR3& direction);
	  void MoveLeft(float speed, const D3DXVECTOR3& direction);
	  void MoveRight(float speed, const D3DXVECTOR3& direction);
	  void Jump( const D3DXVECTOR3& direction);
};